#include <iostream>

#include "core/EventLoopThreadPool.h"

#include <thread>
#include <chrono>

int main(int args, char **argv) 
{
    std::cout << "hello\n";

    trantor::EventLoopThreadPool ev(5);
    ev.start();
    ev.getNextLoop()->runInLoop([]{std::cout << "fuck\n";});

    std::this_thread::sleep_for(std::chrono::seconds(2));
    std::cout << "hello\n";
}